package com.ruoyi.manage.service.impl;

import java.util.List;

import com.ruoyi.manage.service.BmMemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.manage.mapper.BmMemberMapper;
import com.ruoyi.manage.domain.BmMember;

/**
 * 商家信息Service业务层处理
 *
 * @author ruoyi
 * @date 2022-11-07
 */
@Service
public class BmMemberServiceImpl implements BmMemberService
{
    @Autowired
    private BmMemberMapper bmMemberMapper;

    /**
     * 查询商家信息1列表
     *
     * @param bmMember 商家信息1
     * @return 商家信息1
     */
    @Override
    public List<BmMember> selectBmMemberList(BmMember bmMember) {

        return bmMemberMapper.selectBmMemberList(bmMember);
    }

    /**
     * 新增商家信息1
     *
     * @param bmMember 商家信息1
     * @return 结果
     */
    @Override
    public int insertBmMember(BmMember bmMember) {
        return bmMemberMapper.insertBmMember(bmMember);
    }

    /**
     * 修改商家信息1
     *
     * @param bmMember 商家信息1
     * @return 结果
     */
    @Override
    public int updateBmMember(BmMember bmMember) {
        return bmMemberMapper.updateBmMember(bmMember);
    }

    /**
     * 批量删除商家信息1
     *
     * @param ids 需要删除的商家信息1主键
     * @return 结果
     */
    @Override
    public int deleteBmMemberByIds(Integer[] ids) {
        return bmMemberMapper.deleteBmMemberByIds(ids);
    }

}

